class Group < ActiveRecord::Base
  has_many :users
#  before_save :raise_to_mb
  validates_uniqueness_of :name
  validates_presence_of :name
  QUOTA = [['1MB', 1], ['2MB', 2], ['5MB', 5], ['10MB', 10], ['20MB', 20], ['50MB', 50], ['100MB', 100]]

  DISCOUNT = [['brak', 0], ['5%',5], ['10%',10], ['15%',15]]

#  def raise_to_mb
#    self.task_qoute = self.task_qoute * 1000000
#  end
  
end
